package io.github.loan.users.service;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import com.alibaba.fastjson.JSONObject;

import io.github.loan.common.util.PageInfoUtil;
import io.github.loan.users.pojo.Admins;

public interface IUsersService {
	
	/* -----------------管理员操作开始------------------------- */
	/**
	 * 查询多条记录
	 */
	List<Admins> findAdminsCondListService(PageInfoUtil pageInfoUtil,Map<String,Object> condMap);
	
	/**
	 * 查询一条记录
	 */
	Admins findOneAdminsService(Map<String,Object> condMap);
	
	/**
	 * 添加一条记录
	 */
	JSONObject insertOneAdminsService(Admins admins);
	
	/**
	 * 更新一条记录
	 */
	JSONObject updateOneAdminsService(Admins admins);
	
	/**
	 * 删除一条记录
	 */
	JSONObject deleteOneAdminsService(Admins admins);
	/* -----------------管理员操作结束------------------------- */
}
